<template>
  <section>
    <h2>我的学校</h2>
    <p>学校名称：{{ name }}</p>
    <p>专业：{{ major }}</p>
    <router-view></router-view>
  </section>
</template>
  
  <script>
export default {
  props: ["name","major"]
};
</script>
  
  <style scoped>
section {
  color: #f00;
}
</style>